/**
 * @author Fang Lu, fanglupku@gmail.com
 * 2012-2-7
 */
package com.autotag.entity;

public class AbstractProvider {
	public final static int ABSTRACT_PROVIDER = 1;
	public final static int DETAIL_PROVIDER = 2;
	public final static int SERVICE_LIST_PROVIDER = 3;
	public final static int MAX_LENGTH_NAME = 255;
	public final static int MAX_LENGTH_REF = 1023;
	private int id;
	private String name;
	private String ref;
	private int serviceNum;
	private int status;
	public AbstractProvider(int id, String name, String ref, int serviceNum, int status){
		this.id = id;
		this.name = name;
		this.ref = ref;
		this.serviceNum = serviceNum;
		this.status = status;
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getRef() {
		return ref;
	}
	public void setRef(String ref) {
		this.ref = ref;
	}
	public int getServiceNum() {
		return serviceNum;
	}
	public void setServiceNum(int serviceNum) {
		this.serviceNum = serviceNum;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public int getStatus() {
		return status;
	}
	
}
